package com.fph.demo.controller;

import cn.hutool.core.lang.Dict;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName DemoController
 * @Description TODO
 * @Author fph
 * @Date 2024-07-08 14:40
 **/
@RestController
public class DemoController {

    @GetMapping("/test")
    public Dict index() {
        return Dict.create().set("name", "***")
                .set("password", "123456");
    }
}

